﻿using System;
using System.Runtime.CompilerServices;
using AutoR.Helpers;
using LiteDB;
using Prism.Mvvm;

namespace AutoR.Models
{
	// Token: 0x0200020A RID: 522
	public class OthersConfig : BindableBase
	{
		// Token: 0x170003B0 RID: 944
		// (get) Token: 0x06000C0E RID: 3086 RVA: 0x0006DFF8 File Offset: 0x0006C1F8
		// (set) Token: 0x06000C0F RID: 3087 RVA: 0x0006E000 File Offset: 0x0006C200
		public int Id
		{
			[CompilerGenerated]
			get
			{
				return this.<Id>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<Id>k__BackingField == value)
				{
					return;
				}
				this.<Id>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.Id);
			}
		}

		// Token: 0x170003B1 RID: 945
		// (get) Token: 0x06000C10 RID: 3088 RVA: 0x0006E02D File Offset: 0x0006C22D
		// (set) Token: 0x06000C11 RID: 3089 RVA: 0x0006E038 File Offset: 0x0006C238
		public string Type
		{
			[CompilerGenerated]
			get
			{
				return this.<Type>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (string.Equals(this.<Type>k__BackingField, value, StringComparison.Ordinal))
				{
					return;
				}
				this.<Type>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.Type);
			}
		}

		// Token: 0x170003B2 RID: 946
		// (get) Token: 0x06000C12 RID: 3090 RVA: 0x0006E069 File Offset: 0x0006C269
		// (set) Token: 0x06000C13 RID: 3091 RVA: 0x0006E074 File Offset: 0x0006C274
		public TimeSpan ResetTime
		{
			get
			{
				return this._resetTime;
			}
			set
			{
				if (TimeSpan.Equals(this._resetTime, value))
				{
					return;
				}
				this._resetTime = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.ResetTime);
				this.CheckTime = Extensions.GetCheckTime(this._resetTime, false);
			}
		}

		// Token: 0x170003B3 RID: 947
		// (get) Token: 0x06000C14 RID: 3092 RVA: 0x0006E0B6 File Offset: 0x0006C2B6
		// (set) Token: 0x06000C15 RID: 3093 RVA: 0x0006E0C0 File Offset: 0x0006C2C0
		[BsonIgnore]
		public DateTime CheckTime
		{
			[CompilerGenerated]
			get
			{
				return this.<CheckTime>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (DateTime.Equals(this.<CheckTime>k__BackingField, value))
				{
					return;
				}
				this.<CheckTime>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.CheckTime);
			}
		}

		// Token: 0x170003B4 RID: 948
		// (get) Token: 0x06000C16 RID: 3094 RVA: 0x0006E0F0 File Offset: 0x0006C2F0
		// (set) Token: 0x06000C17 RID: 3095 RVA: 0x0006E0F8 File Offset: 0x0006C2F8
		public bool BuildReset
		{
			[CompilerGenerated]
			get
			{
				return this.<BuildReset>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<BuildReset>k__BackingField == value)
				{
					return;
				}
				this.<BuildReset>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.BuildReset);
			}
		}

		// Token: 0x170003B5 RID: 949
		// (get) Token: 0x06000C18 RID: 3096 RVA: 0x0006E125 File Offset: 0x0006C325
		// (set) Token: 0x06000C19 RID: 3097 RVA: 0x0006E130 File Offset: 0x0006C330
		public bool ShipBuild
		{
			[CompilerGenerated]
			get
			{
				return this.<ShipBuild>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<ShipBuild>k__BackingField == value)
				{
					return;
				}
				this.<ShipBuild>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.ShipBuild);
			}
		}

		// Token: 0x170003B6 RID: 950
		// (get) Token: 0x06000C1A RID: 3098 RVA: 0x0006E15D File Offset: 0x0006C35D
		// (set) Token: 0x06000C1B RID: 3099 RVA: 0x0006E168 File Offset: 0x0006C368
		public int ShipOil
		{
			[CompilerGenerated]
			get
			{
				return this.<ShipOil>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<ShipOil>k__BackingField == value)
				{
					return;
				}
				this.<ShipOil>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.ShipOil);
			}
		}

		// Token: 0x170003B7 RID: 951
		// (get) Token: 0x06000C1C RID: 3100 RVA: 0x0006E195 File Offset: 0x0006C395
		// (set) Token: 0x06000C1D RID: 3101 RVA: 0x0006E1A0 File Offset: 0x0006C3A0
		public int ShipAmmo
		{
			[CompilerGenerated]
			get
			{
				return this.<ShipAmmo>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<ShipAmmo>k__BackingField == value)
				{
					return;
				}
				this.<ShipAmmo>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.ShipAmmo);
			}
		}

		// Token: 0x170003B8 RID: 952
		// (get) Token: 0x06000C1E RID: 3102 RVA: 0x0006E1CD File Offset: 0x0006C3CD
		// (set) Token: 0x06000C1F RID: 3103 RVA: 0x0006E1D8 File Offset: 0x0006C3D8
		public int ShipSteel
		{
			[CompilerGenerated]
			get
			{
				return this.<ShipSteel>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<ShipSteel>k__BackingField == value)
				{
					return;
				}
				this.<ShipSteel>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.ShipSteel);
			}
		}

		// Token: 0x170003B9 RID: 953
		// (get) Token: 0x06000C20 RID: 3104 RVA: 0x0006E205 File Offset: 0x0006C405
		// (set) Token: 0x06000C21 RID: 3105 RVA: 0x0006E210 File Offset: 0x0006C410
		public int ShipAluminium
		{
			[CompilerGenerated]
			get
			{
				return this.<ShipAluminium>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<ShipAluminium>k__BackingField == value)
				{
					return;
				}
				this.<ShipAluminium>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.ShipAluminium);
			}
		}

		// Token: 0x170003BA RID: 954
		// (get) Token: 0x06000C22 RID: 3106 RVA: 0x0006E23D File Offset: 0x0006C43D
		// (set) Token: 0x06000C23 RID: 3107 RVA: 0x0006E248 File Offset: 0x0006C448
		public int ShipBuildNumber
		{
			[CompilerGenerated]
			get
			{
				return this.<ShipBuildNumber>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<ShipBuildNumber>k__BackingField == value)
				{
					return;
				}
				this.<ShipBuildNumber>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.ShipBuildNumber);
			}
		}

		// Token: 0x170003BB RID: 955
		// (get) Token: 0x06000C24 RID: 3108 RVA: 0x0006E275 File Offset: 0x0006C475
		// (set) Token: 0x06000C25 RID: 3109 RVA: 0x0006E280 File Offset: 0x0006C480
		public bool ShipQuickBuild
		{
			[CompilerGenerated]
			get
			{
				return this.<ShipQuickBuild>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<ShipQuickBuild>k__BackingField == value)
				{
					return;
				}
				this.<ShipQuickBuild>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.ShipQuickBuild);
			}
		}

		// Token: 0x170003BC RID: 956
		// (get) Token: 0x06000C26 RID: 3110 RVA: 0x0006E2AD File Offset: 0x0006C4AD
		// (set) Token: 0x06000C27 RID: 3111 RVA: 0x0006E2B8 File Offset: 0x0006C4B8
		public string StopShip
		{
			[CompilerGenerated]
			get
			{
				return this.<StopShip>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (string.Equals(this.<StopShip>k__BackingField, value, StringComparison.Ordinal))
				{
					return;
				}
				this.<StopShip>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.StopShip);
			}
		}

		// Token: 0x170003BD RID: 957
		// (get) Token: 0x06000C28 RID: 3112 RVA: 0x0006E2E9 File Offset: 0x0006C4E9
		// (set) Token: 0x06000C29 RID: 3113 RVA: 0x0006E2F4 File Offset: 0x0006C4F4
		public int ShipResetNumber
		{
			[CompilerGenerated]
			get
			{
				return this.<ShipResetNumber>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<ShipResetNumber>k__BackingField == value)
				{
					return;
				}
				this.<ShipResetNumber>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.ShipResetNumber);
			}
		}

		// Token: 0x170003BE RID: 958
		// (get) Token: 0x06000C2A RID: 3114 RVA: 0x0006E321 File Offset: 0x0006C521
		// (set) Token: 0x06000C2B RID: 3115 RVA: 0x0006E32C File Offset: 0x0006C52C
		public bool EquipmentBuild
		{
			[CompilerGenerated]
			get
			{
				return this.<EquipmentBuild>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<EquipmentBuild>k__BackingField == value)
				{
					return;
				}
				this.<EquipmentBuild>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.EquipmentBuild);
			}
		}

		// Token: 0x170003BF RID: 959
		// (get) Token: 0x06000C2C RID: 3116 RVA: 0x0006E359 File Offset: 0x0006C559
		// (set) Token: 0x06000C2D RID: 3117 RVA: 0x0006E364 File Offset: 0x0006C564
		public int EquipmentOil
		{
			[CompilerGenerated]
			get
			{
				return this.<EquipmentOil>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<EquipmentOil>k__BackingField == value)
				{
					return;
				}
				this.<EquipmentOil>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.EquipmentOil);
			}
		}

		// Token: 0x170003C0 RID: 960
		// (get) Token: 0x06000C2E RID: 3118 RVA: 0x0006E391 File Offset: 0x0006C591
		// (set) Token: 0x06000C2F RID: 3119 RVA: 0x0006E39C File Offset: 0x0006C59C
		public int EquipmentAmmo
		{
			[CompilerGenerated]
			get
			{
				return this.<EquipmentAmmo>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<EquipmentAmmo>k__BackingField == value)
				{
					return;
				}
				this.<EquipmentAmmo>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.EquipmentAmmo);
			}
		}

		// Token: 0x170003C1 RID: 961
		// (get) Token: 0x06000C30 RID: 3120 RVA: 0x0006E3C9 File Offset: 0x0006C5C9
		// (set) Token: 0x06000C31 RID: 3121 RVA: 0x0006E3D4 File Offset: 0x0006C5D4
		public int EquipmentSteel
		{
			[CompilerGenerated]
			get
			{
				return this.<EquipmentSteel>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<EquipmentSteel>k__BackingField == value)
				{
					return;
				}
				this.<EquipmentSteel>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.EquipmentSteel);
			}
		}

		// Token: 0x170003C2 RID: 962
		// (get) Token: 0x06000C32 RID: 3122 RVA: 0x0006E401 File Offset: 0x0006C601
		// (set) Token: 0x06000C33 RID: 3123 RVA: 0x0006E40C File Offset: 0x0006C60C
		public int EquipmentAluminium
		{
			[CompilerGenerated]
			get
			{
				return this.<EquipmentAluminium>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<EquipmentAluminium>k__BackingField == value)
				{
					return;
				}
				this.<EquipmentAluminium>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.EquipmentAluminium);
			}
		}

		// Token: 0x170003C3 RID: 963
		// (get) Token: 0x06000C34 RID: 3124 RVA: 0x0006E439 File Offset: 0x0006C639
		// (set) Token: 0x06000C35 RID: 3125 RVA: 0x0006E444 File Offset: 0x0006C644
		public int EquipmentBuildNumber
		{
			[CompilerGenerated]
			get
			{
				return this.<EquipmentBuildNumber>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<EquipmentBuildNumber>k__BackingField == value)
				{
					return;
				}
				this.<EquipmentBuildNumber>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.EquipmentBuildNumber);
			}
		}

		// Token: 0x170003C4 RID: 964
		// (get) Token: 0x06000C36 RID: 3126 RVA: 0x0006E471 File Offset: 0x0006C671
		// (set) Token: 0x06000C37 RID: 3127 RVA: 0x0006E47C File Offset: 0x0006C67C
		public bool EquipmentQuickBuild
		{
			[CompilerGenerated]
			get
			{
				return this.<EquipmentQuickBuild>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<EquipmentQuickBuild>k__BackingField == value)
				{
					return;
				}
				this.<EquipmentQuickBuild>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.EquipmentQuickBuild);
			}
		}

		// Token: 0x170003C5 RID: 965
		// (get) Token: 0x06000C38 RID: 3128 RVA: 0x0006E4A9 File Offset: 0x0006C6A9
		// (set) Token: 0x06000C39 RID: 3129 RVA: 0x0006E4B4 File Offset: 0x0006C6B4
		public string StopEquip
		{
			[CompilerGenerated]
			get
			{
				return this.<StopEquip>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (string.Equals(this.<StopEquip>k__BackingField, value, StringComparison.Ordinal))
				{
					return;
				}
				this.<StopEquip>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.StopEquip);
			}
		}

		// Token: 0x170003C6 RID: 966
		// (get) Token: 0x06000C3A RID: 3130 RVA: 0x0006E4E5 File Offset: 0x0006C6E5
		// (set) Token: 0x06000C3B RID: 3131 RVA: 0x0006E4F0 File Offset: 0x0006C6F0
		public int EquipmentResetNumber
		{
			[CompilerGenerated]
			get
			{
				return this.<EquipmentResetNumber>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<EquipmentResetNumber>k__BackingField == value)
				{
					return;
				}
				this.<EquipmentResetNumber>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.EquipmentResetNumber);
			}
		}

		// Token: 0x06000C3C RID: 3132 RVA: 0x0006E51D File Offset: 0x0006C71D
		public OthersConfig()
		{
			this.<Id>k__BackingField = 8;
			this.<Type>k__BackingField = "OthersConfig";
			base..ctor();
		}

		// Token: 0x04000A6B RID: 2667
		private TimeSpan _resetTime;
	}
}
